﻿using System.IO;
using System.Xml;
using System.Xml.Serialization;
using Habanero.BO;
using UseCaseManager.BO;

namespace UseCaseManager.Logic
{
    public static class CreateXml
    {

        public static void WriteXmlFile(Project project, string fileName)
        {
            XmlSerializer xs = new XmlSerializer(typeof(Project));
            StreamWriter sw = new StreamWriter(fileName);
            xs.Serialize(sw, project);
            sw.Close();
        }
       
    }
}
